package com.haoze.nurse.vo;

import com.fasterxml.jackson.annotation.JsonFormat;


import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;

/**
 * 检验列表（标本采集）
 * @author wangze
 * @date 2020-05-18 16:01.
 **/
public class LabSpecimenListVO {


	/**
	 *检查项目
	 */
	private String labItemName;

	/**
	 * 医嘱时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm")
	private Timestamp orderDate;

	/**
	 * 条码编号
	 */
	private String specimenNum;

	/**
	 * 标本类型
	 */
	private String specimenCategory;


	/**
	 * 采集量
	 */
	private String amount;

	/**
	 * 检验科室
	 */
	private String reqDeptName;


	/**
	 * 注意事项
	 */
	private String remark;


	/**
	 *是否打印  0 未打印 1，已打印
	 */
	private Integer printFlag;


	public String getLabItemName() {
		return labItemName;
	}

	public void setLabItemName(String labItemName) {
		this.labItemName = labItemName;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Timestamp orderDate) {
		this.orderDate = orderDate;
	}

	public String getSpecimenNum() {
		return specimenNum;
	}

	public void setSpecimenNum(String specimenNum) {
		this.specimenNum = specimenNum;
	}

	public String getSpecimenCategory() {
		return specimenCategory;
	}

	public void setSpecimenCategory(String specimenCategory) {
		this.specimenCategory = specimenCategory;
	}

	public String getReqDeptName() {
		return reqDeptName;
	}

	public void setReqDeptName(String reqDeptName) {
		this.reqDeptName = reqDeptName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getPrintFlag() {
		// 默认0 未打印
		if(Objects.isNull(printFlag)){
			return 0;
		}
		return printFlag;
	}

	public void setPrintFlag(Integer printFlag) {
		this.printFlag = printFlag;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}
}
